WpAssetCleanUp\Misc D

Total Complexity 350
Dependencies 7
Dependents 32
Total lines 1,767
Lines of code 973
Logical lines of code 547
Comment lines 439
Methods 62
Properties 3

Methods 62

Method Rating Maintainability Complexity Lines of code
getTotalBulkUnloadsFor()
C
41 25 50
maybeIsInactiveAsset()
B
40 16 59
fetchActiveFreePluginsIconsFromWordPressOrg()
B
38 15 66
isHomePage()
A
51 17 25
getSizeOfDirectoryRootFiles()
A
48 13 31
formatBytes()
A
46 11 35
getTotalUnloadedAssets()
A
45 10 41
handleHasAtLeastOneRule()
A
53 10 21
getVar()
A
61 10 12
scriptExecTimer()
A
53 8 21
purifyRegexValue()
A
55 8 19
isValidRequest()
S
63 9 9
getPageUrl()
S
50 7 29
getLocalSrc()
S
52 7 24
triggerFrontendOptimization()
S
59 7 15
isWpRocketMinifyHtmlEnabled()
S
57 7 15
isElementorMaintenanceModeOnForCurrentAdmin()
S
57 7 15
arrayUnsetRecursive()
S
58 7 15
filterCustomPostTypesList()
S
58 7 14
filterPostTypesList()
S
59 7 14
getAllActivePluginsIcons()
S
50 6 27
isHttpsSecure()
S
63 7 10
getActivePlugins()
S
58 6 15
isElementorMaintenanceModeOn()
S
61 6 11
getActiveThemes()
S
53 5 22
getWpRootDirPath()
S
60 5 13
filterCustomTaxonomyList()
S
62 5 11
getScriptTypeAttribute()
S
64 5 9
getThemeIcon()
S
58 4 15
getStyleTypeAttribute()
S
64 5 9
doingCron()
S
65 5 9
getCurrentPageUrl()
S
65 5 7
rmDir()
S
61 4 13
isPluginActive()
S
60 4 13
assetFromHrefToRelativeUri()
S
59 4 13
preloadAsyncCssFallbackOutput()
S
56 3 27
getActiveCachePlugins()
S
63 4 11
isCoreFile()
S
57 3 16
getCachedActiveFreePluginsIcons()
S
64 4 10
w3TotalCacheFlushObjectCache()
S
68 4 7
isDOMDocumentOn()
S
77 4 3
isClassicEditorUsed()
S
63 4 10
doNotApplyOptimizationOnPage()
S
59 3 14
isRootUrl()
S
59 3 14
addUpdateOption()
S
63 3 11
getPluginsDir()
S
63 3 10
_filterPageUrl()
S
69 3 6
filterList()
S
69 3 6
endsWith()
S
62 2 12
printTimingFor()
S
58 1 16
isBlogPage()
S
78 2 3
getW3tcMasterConfig()
S
64 2 10
arrayKeyFirst()
S
68 2 7
jsonLastError()
S
71 2 6
replaceRelPluginPath()
S
65 2 9
getTimingValues()
S
67 2 6
getShowOnFront()
S
71 2 6
getThemesDirRel()
S
71 1 5
getPageUri()
S
68 1 6
isWpVersionAtLeast()
S
75 1 4
extractBetween()
S
66 1 8
stripIrrelevantHtmlTags()
S
78 1 3